package com.wyy.dao;

import com.wyy.bean.Role;

import java.util.List;

public interface RoleDao {
    
    public List<Role> getList();
    public List<Role> getRoleList(int pageIndex, int pageSize);
    public int total();
    //插入角色 返回新增数据的ID
    public int insert(Role role);
    public Role findById(int roleId);
    public int deleteRole(int roleId);
    public int updateRole(Role role);
}
